package gui;

import javax.swing.JComponent;
import javax.swing.RepaintManager;

/**
 * Used because it is faster to manager our own repainting.
 * 
 * @author Jason
 */
public class EmptyRepaintManager extends RepaintManager {

	public EmptyRepaintManager() {
		setDoubleBufferingEnabled(false);
	}

	public void addInvalidComponent(JComponent c) {}

	public void addDirtyRegion(JComponent c, int x, int y, int w, int h) {}

	public void markCompletelyDirty(JComponent c) {}

	public void paintDirtyRegions() {}

}